import type { MemberLevel, MemberLevelListParam } from '@/models/memberLevel'
import type { CommonResult } from '@/models/request'
import request from '@/utils/request'

export function fetchList(params: MemberLevelListParam) {
  return request<CommonResult<MemberLevel[]>>({
    url: '/memberLevel/list',
    method: 'get',
    params: params,
  })
}
